package com.thwj.framework.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * <b>功能名：</b>OBSConfig<br>
 * <b>说明：</b><br>
 * <b>著作权：</b> Copyright (C) 2019   CORPORATION<br>
 * <b>修改履历：
 *
 * @author 2020-06-05 hufeng
 */
@Component
@ConfigurationProperties(prefix = "thwj.oss")
@Data
public class OssProperties {

    /**
     * 桶地址
     */
    private String endpoint;

    /**
     * accessKeySecret
     */
    private String accessKeySecret;

    /**
     * accessKeyId
     */
    private String accessKeyId;

    /**
     * 桶名称
     */
    private String bucketName;
    /***
     * 文件地址 域名
     */
    private String domain;
}
